package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdCompanyPhoto;
import com.shangdiao.sd_server.generator.pojo.SdCompanyPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdCompanyPhotoMapper {
    int countByExample(SdCompanyPhotoExample example);

    int deleteByExample(SdCompanyPhotoExample example);

    int deleteByPrimaryKey(Integer companyPhotoId);

    int insert(SdCompanyPhoto record);

    int insertSelective(SdCompanyPhoto record);

    List<SdCompanyPhoto> selectByExample(SdCompanyPhotoExample example);

    SdCompanyPhoto selectByPrimaryKey(Integer companyPhotoId);

    int updateByExampleSelective(@Param("record") SdCompanyPhoto record, @Param("example") SdCompanyPhotoExample example);

    int updateByExample(@Param("record") SdCompanyPhoto record, @Param("example") SdCompanyPhotoExample example);

    int updateByPrimaryKeySelective(SdCompanyPhoto record);

    int updateByPrimaryKey(SdCompanyPhoto record);
}